package org.nidy.erp.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.nidy.erp.mapper.IMemberShipMapper;
import org.nidy.erp.pojo.MemberShip;
import org.nidy.erp.service.IMemberShipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("memberService")
public class MemberShipService extends ServiceImpl<IMemberShipMapper, MemberShip> implements IMemberShipService {
   @Autowired
   private IMemberShipMapper  memberShipMapper;

    @Override
    public List<MemberShip> getMemberListByNickName(String query) {
        return memberShipMapper.getMemberListByNickName(query);
    }
}
